using System;
using System.Collections.Generic;
using System.Text;
using MCromwell.StaffIntranet.Task.Tasks;
using MCromwell.StaffIntranet.DependencyInjection;

namespace MCromwell.StaffIntranet.Presenters
{
    public class Tasks
    {
        public static readonly IStaffManagementTask StaffManagementTask;
        public static readonly IStaffViewingTask StaffViewingTask;
        public static readonly IAuthenticationTask AuthenticationTask;
        public static readonly ICommonTask CommonTask;

        static Tasks()
        {
            StaffManagementTask = IoC.Resolve<IStaffManagementTask>();
            StaffViewingTask = IoC.Resolve<IStaffViewingTask>();
            AuthenticationTask = IoC.Resolve<IAuthenticationTask>();
            CommonTask = IoC.Resolve<ICommonTask>();
        }
    }
}
